#!/bin/bash

OLD_IFS="$IFS"
IFS=","
arr=($1)
IFS="$OLD_IFS"

for target_host in ${arr[@]}; do
	#statements
	scp -P ${port} -r ${source_path} ${user}@${target_host}:${dest_path}
done
